<template>
    <div class="about-page">
        <div class="about-card">
            <img class="about-avatar" src="@/assets/vite.svg" alt="头像">
            <h1>关于我</h1>
            <p class="about-desc">
                你好，我是 <b>于君</b>，一名热爱前端开发与生活的程序员。喜欢探索新技术，热衷于用代码和设计表达想法。
                <br>这个博客用于记录我的学习、成长、生活点滴，也希望能帮助和启发更多朋友。
            </p>
            <div class="about-section">
                <h3>技能标签</h3>
                <div class="about-tags">
                    <el-tag type="primary">Vue</el-tag>
                    <el-tag type="success">JavaScript</el-tag>
                    <el-tag type="info">CSS3</el-tag>
                    <el-tag type="warning">Node.js</el-tag>
                    <el-tag type="danger">前端工程化</el-tag>
                    <el-tag>博客搭建</el-tag>
                </div>
            </div>
            <div class="about-section">
                <h3>联系方式</h3>
                <ul class="about-contact">
                    <li><i class="el-icon-message"></i> 邮箱：yujn@example.com</li>
                    <li><i class="el-icon-link"></i> 个人主页：<a href="https://yourblog.com"
                            target="_blank">yourblog.com</a></li>
                </ul>
            </div>
            <div class="about-section">
                <h3>社交链接</h3>
                <div class="about-social">
                    <a href="https://github.com/" target="_blank" title="GitHub"><i class="el-icon-github"></i></a>
                    <a href="https://twitter.com/" target="_blank" title="Twitter"><i class="el-icon-twitter"></i></a>
                    <a href="https://weibo.com/" target="_blank" title="微博"><i class="el-icon-s-promotion"></i></a>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>
// 关于页面无需复杂逻辑
</script>

<style scoped>
.about-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    background: var(--el-bg-color);
    padding: 48px 0 32px 0;
    color: var(--el-text-color-primary);
}
.about-card {
    background: var(--el-bg-color);
    border-radius: 18px;
    box-shadow: var(--el-box-shadow-light);
    padding: 40px 36px 32px 36px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--el-border-color);
    color: var(--el-text-color-primary);
}
.about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 18px;
    border: 3px solid var(--el-color-primary);
    box-shadow: var(--el-box-shadow-light);
}
.about-card h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--el-color-primary);
}
.about-desc {
    color: var(--el-text-color-regular);
    font-size: 1.1rem;
    margin-bottom: 28px;
    line-height: 1.8;
}
.about-section {
    margin-bottom: 24px;
    text-align: left;
}
.about-section h3 {
    font-size: 1.1rem;
    color: var(--el-color-primary);
    margin-bottom: 10px;
    font-weight: bold;
}
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}
.about-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--el-text-color-secondary);
    font-size: 1rem;
}
.about-contact li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.about-social {
    display: flex;
    gap: 18px;
    margin-top: 6px;
}
.about-social a {
    color: var(--el-color-primary);
    font-size: 1.5rem;
    transition: color 0.2s;
}
.about-social a:hover {
    color: var(--el-color-primary);
    filter: brightness(0.92);
}
</style>